import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules:{},
	state: {},
	mutations: {
		/* 
		    exmaple
		    login(state, userName) {
			state.userName = userName || '新用户';
			state.hasLogin = true;
		}, */
	},
	actions:{
		
	}
})

export default store
